<script setup lang="ts">
import { useRole } from "./utils/hook";

defineOptions({
  name: "StudentMenu"
});

const { columns, dataList } = useRole();
</script>

<template>
  <div class="main">
    <pure-table
      :data="dataList"
      :columns="columns"
      row-key="id"
      border
      default-expand-all
      class="mb-6"
    />
  </div>
</template>

<style scoped lang="scss">
:deep(.el-dropdown-menu__item i) {
  margin: 0;
}

.search-form {
  :deep(.el-form-item) {
    margin-bottom: 12px;
  }
}
</style>
